﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Advanced JavaScript</title>
    <script src="demo.js" defer></script>
    <link rel="stylesheet" href="index.css">
</head>
<body>
<form action="">
    <div class="control">
        <label for="product-name">Product Name</label>
        <input id="product-name" type="text" name="product-name" placeholder="Product Name" maxlength="60">
        <span id="charcount">
            <span id="remaining-chars">60</span> / 60
        </span>
    </div>
    <button>Submit</button>
</form>
</body>
</html>